/**
* File: IRayErrDef_MAM.cs
*
* Purpose: IRay FPD error code definition
*
*
* @author Haitao.Ning
* @version 1.0 2015/4/23
*
* Copyright (C) 2009, 2015, iRay Technology (Shanghai) Ltd.
*
*/
namespace iDetector
{
	public partial class SdkInterface
	{
		public const int Err_OK = 0;
		public const int Err_TaskPending = 1;
		public const int Err_Unknown = 2;
		public const int Err_DuplicatedCreation = 3;
		public const int Err_DetectorIdNotFound = 4;
		public const int Err_StateErr = 5;
		public const int Err_NotInitialized = 6;
		public const int Err_NotImplemented = 7;
		public const int Err_AccessDenied = 8;
		public const int Err_LoadDllFailed = 9;
		public const int Err_DllCreateObjFailed = 10;
		public const int Err_OpenFileFailed = 11;
		public const int Err_FileNotExist = 12;
		public const int Err_ConfigFileNotExist = 13;
		public const int Err_TemplateFileNotExist = 14;
		public const int Err_TemplateFileNotMatch = 15;
		public const int Err_InvalidFileFormat = 16;
		public const int Err_CreateLoggerFailed = 17;
		public const int Err_InvalidParamCount = 18;
		public const int Err_InvalidParamType = 19;
		public const int Err_InvalidParamValue = 20;
		public const int Err_PreCondition = 21;
		public const int Err_TaskTimeOut = 22;
		public const int Err_ProdInfoMismatch = 23;
		public const int Err_DetectorRespTimeout = 24;
		public const int Err_InvalidPacketNo = 25;
		public const int Err_InvalidPacketFormat = 26;
		public const int Err_PacketDataCheckFailed = 27;
		public const int Err_PacketLost_BufOverflow = 28;
		public const int Err_FrameLost_BufOverflow = 29;
		public const int Err_ImgChBreak = 30;
		public const int Err_GeneralSocketErr = 32;
		public const int Err_DetectorSN_Mismatch = 33;
		public const int Err_NotEnoughDiskSpace = 37;
		public const int Err_NotEnoughMemorySpace = 38;
		public const int Err_ApplyFirmwareFailed = 39;
		public const int Err_TooMuchDefectPoints = 42;
		public const int Err_TooLongFilePath = 43;
		public const int Err_AddressOccupied = 45;
		public const int Err_Crypto_OpensslFailure = 80;
		public const int Err_Auth_LicenseInvalid = 92;
		public const int Err_FPD_General_Detector_Error = 1001;
		public const int Err_FPD_NotImplemented = 1005;
		public const int Err_FPD_SeqNoOutOfSync = 1006;
		public const int Err_FPD_Busy = 1007;
		public const int Err_FPD_NotSupportInCurrMode = 1013;
		public const int Err_FPD_FileNotExist = 1015;
		public const int Err_Cali_GeneralError = 3001;
		public const int Err_Cali_UnexpectImage_DoseHighHigh = 3002;
		public const int Err_Cali_DataNotReadyForGen = 3005;
		public const int Err_Cali_NotEnoughIntervalTime_OffsetTmpl = 3006;
	}
}
